PEFreeDevMode

Use PEFreeDevMode to return the memory associated with the specified DEVMODE Microsoft Windows structure to the heap. The DEVMODE structure must have been retrieved from PESelectPrinter, or PEGetSelectedPrinter.

C Syntax
BOOL CRPE_API PEFreeDevMode (
    short printJob,
    DEVMODEA FAR *mode );
Parameters

printJob

Specifies the print job for which you want to release the specified DEVMODE, Windows API structure.

mode

Specifies a pointer to the DEVMODE, Windows API structure that you want to release.

Returns
VB Syntax
Declare Function PEFreeDevMode Lib "crpe32.dll" ( ByVal printJob As 
Integer,
    mode As Any ) As Integer


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com